package com.epam.edu.task01.tourismP;

import com.epam.edu.task01.tourism.voucher.VouchersList;
import org.apache.log4j.Logger;

import java.io.IOException;

public class Program {
	private static FileWorks fw = new FileWorks();
	private static Logger logger = Logger.getLogger(FileWorks.class);

	public static void main(String[] args) throws IOException {
		VouchersList vouchersList = FileWorks.ReadFromFileVoucherList();
		logger.info(vouchersList.toString());

        logger.info(vouchersList.searchVouchersByType("VoucherToExcursion"));
	}
}